package com.my.service;

import com.my.pojo.Department;
import com.my.vo.DepartmentVo;

import java.util.List;

public interface DepartmentService {
    List<DepartmentVo> getAllDepartment();
    boolean deleteDepartmentById(Integer departmentId);

    List<DepartmentVo> getDepartmentBy(Department department);
    DepartmentVo getDepartmentById(Integer departId);
    boolean addDepartment(Department department);
}
